﻿using Models.DTO.Api;
using System;
using Utility.Enums;

namespace Model.PageModel
{
    [Serializable]
    public class CpnActCfgInfoParms : BaseParmsDTO
    {
        /// 企业号
        /// </summary>
        public string CpnID { get; set; }
        /// <summary>
        /// 机构号
        /// </summary>
        public string OrgId { get; set; }
        /// <summary>
        /// 账户
        /// </summary>
        public string Act { get; set; }
        /// <summary>
        /// 支付方式
        /// </summary>
        public string PyTypID { get; set; }
        /// <summary>
        /// 支付渠道
        /// </summary>
        public string PyChnlID { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? SDt { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EDt { get; set; }
        public string PyMchinId { get; set; }

        public string ActID { get; set; }

        public string PrActID { get; set; }

        public Enum_TrialStt? TrialStt { get; set; }

        public bool IsAdd { get; set; }

        public bool IsAll { get; set; } = false;

        /// <summary>
        /// 活动类型 0-单品 1-分流
        /// </summary>
        public int ActTyp { get; set; } = 1;
    }
    public class CpnActCfgInfoActRlueParms
    {
        public string PyMchinId { get; set; }
        public string ActID { get;set; }
        public bool IsAdd { get; set; }
        /// <summary>
        /// 活动类型 0-单品 1-分流
        /// </summary>
        public int ActTyp { get; set; } = 1;

    }
}
